/**
 * 文件名称：SpecificationsServiceImpl.java
 * 文件版权：ChinaParasol Technologies Co., Ltd. Copyright 2000-2020,  All rights reserved
 * 文件描述：<描述>
 * 创建作者：Administrator
 * 创建时间：Jan 6, 2013
 * 修改内容：<修改内容>
 */
package com.parasol.hcerp.service.specifications.service;

import java.util.List;

import com.parasol.hcerp.service.specifications.dao.SpecificationsDao;
import com.parasol.hcerp.service.specifications.domain.SpecificationsBean;

/**
 * 
 * @author  Administrator
 * @version V1.0, Jan 6, 2013
 */
public class SpecificationsServiceImpl implements SpecificationsService
{
    
    private SpecificationsDao specificationsDao = null;
    
    public SpecificationsDao getSpecificationsDao()
    {
        return specificationsDao;
    }

    public void setSpecificationsDao(SpecificationsDao specificationsDao)
    {
        this.specificationsDao = specificationsDao;
    }

    public void deleteForSpecifications(String specificationsid)
    {
        specificationsDao.deleteForSpecifications(specificationsid);
    }
    
    public int queryForExist(SpecificationsBean specificationsBean)
    {
        return specificationsDao.queryForExist(specificationsBean);
    }
    
    public List<SpecificationsBean> queryForList()
    {
        return specificationsDao.queryForList();
    }
    
    public SpecificationsBean queryForSpecifications(String specificationsid)
    {
        return specificationsDao.queryForSpecifications(specificationsid);
    }
    
    public void saveForSpecifications(SpecificationsBean specificationsBean)
    {
        specificationsDao.saveForSpecifications(specificationsBean);
    }
    
    public void updateForSpecifications(SpecificationsBean specificationsBean)
    {
        specificationsDao.updateForSpecifications(specificationsBean);
    }
    
}
